<div id="w_grid-1592633173866" class="w_grid-000">
    <div class="w_grid ">
        <div class="e_box e_box-000 p_gridbox" style="overflow: visible">
            <div id="content_box-1592633173866-0" class="e_box e_box-000 d_gridCell_0 p_gridCell">
                <div id="w_fimg-1592633173876" class="w_fimg-000">
                    <div class="w_img animated">
                        <a href="{:url('index/index')}">
                            <div class="e_box e_box-000 p_box">
                                <div class="e_image e_DImage-001 p_dimage"><img
                                        src="__PUBLIC__images/logo.png"
                                        alt="logo" title="logo" width="100%"
                                        height="100%"></div>
                            </div>
                        </a>
                    </div>
                </div>
            </div>
            <div id="content_box-1592633173866-1" class="e_box e_box-000 d_gridCell_1 p_gridCell">
                <div id="c_portalResnav_main-15926332445654096" class="c_portalResnav_main-01001">
                    <!-- 导航 -->
                    <header class="header">
                        <div class="container clearfix">
                            <div class="nav">
                                <ul class="navbar_nav" style="padding-left: 0;" data-in="fadeInDown" data-out="fadeOutUp">
                                    <li class="dropdown">
                                        <a class="navNameLink" href="{:url('index/index')}"
                                           target="_self">首页</a>
                                    </li>
                                    {nav pid='' }
                                    <li class="dropdown">
                                        {if condition="isset($nav['children'])"}
                                            {if $nav['type'] == 1 }
                                                <a class="dropdown-toggle" href="{$nav.url}" target="_blank">{$nav.name}</a>
                                            {else/}
                                                <a class="dropdown-toggle" href="{$nav.url}">{$nav.name}</a>
                                            {/if}
                                            <ul class="dropdown-menu">
                                            {volist name="$nav['children']" id='cat'}
                                                {if $nav['type'] == 1 }
                                                    <li style="float: none"><a href="{$cat.url}" target="_blank">{$cat.name}</a></li>
                                                {else/}
                                                    <li style="float: none"><a href="{$cat.url}">{$cat.name}</a></li>
                                                {/if}
                                            {/volist}
                                            </ul>
                                        {else/}
                                            {if $nav['type'] == 1 }
                                                <a class="navNameLink" href="{$nav.url}" target="_blank">{$nav.name}</a>
                                            {else/}
                                                <a class="navNameLink" href="{$nav.url}">{$nav.name}</a>
                                            {/if}
                                        {/if}
                                    </li>
                                    {/nav}
                                </ul>
                            </div>
                            <a href="javascript:void(0)" id="navToggle">
                                <span></span>
                            </a>
                        </div>
                    </header>
                    <!--移动端的导航-->
                    <div class="m_nav">
                        <div class="top clearfix">
                            <i class="iconfont closed"></i>
                        </div>
                        <ul class="ul" data-in="fadeInDown" data-out="fadeOutUp">
                            <li class="dropdown">
                                <a class="navNameLink" href="{:url('index/index')}">首页</a>
                            </li>
                            {nav pid='' }
                            <li class="dropdown">
                                {if condition="isset($nav['children'])"}
                                <a class="navNameLink">{$nav.name}</a>
                                <ul class="dropdown">
                                    {volist name="$nav['children']" id='cat'}
                                    <li><a href="{$cat.url}">{$cat.name}</a></li>
                                    {/volist}
                                </ul>
                                {else/}
                                <a class="navNameLink" href="{$nav.url}">{$nav.name}</a>
                                {/if}
                            </li>
                            {/nav}
                        </ul>
                    </div>
                    <script>
                        $(function () {
                            //超过一定高度导航添加类名
                            var nav = $("header"); //得到导航对象
                            var win = $(window); //得到窗口对象
                            var sc = $(document); //得到document文档对象。
                            win.scroll(function () {
                                if (sc.scrollTop() >= 100) {
                                    nav.addClass("on");
                                } else {
                                    nav.removeClass("on");
                                }
                            })
                            //移动端展开nav
                            $('#navToggle').on('click', function () {
                                $('.m_nav').addClass('open');
                            })
                            //关闭nav
                            $('.m_nav .top .closed').on('click', function () {
                                $('.m_nav').removeClass('open');
                            })
                            //二级导航  移动端
                            $(".m_nav .ul li").click(function () {
                                $(this).children("div.dropdown_menu").slideToggle('slow').end().find('.jt')
                                    .toggleClass('jtRote');
                                $(this).siblings('li').children('.dropdown_menu').slideUp('slow').end().find('.jt')
                                    .removeClass('jtRote');
                            });

                            //鼠标悬停时展开子菜单
                            $('.dropdown').mouseover(function () {
                                $(this).addClass('show');
                                //查找当前元素子节点中的对象，修改其class，这样
                                //这样当有多个下拉菜单时，可以分别独立处理，而不会出现都下拉的bug
                                $(this).find(".dropdown-menu").addClass('show');

                            }).mouseout(function () { //鼠标不悬停时折叠子菜单
                                $(this).find(".dropdown-menu").removeClass('show');
                                $(this).removeClass('show');
                            });
                        });
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>
